// 封装Home页相关接口
import request from '@/utils/request'

// 获取首页轮播图
export const getIndexBannerService = () => {
  return request({
    url: '/carousel-index',
    method: 'GET'
  })
}

// 获取AI聊天信息
export const getAIChatInfo = (question) => {
  return request({
    url: '/wenxin/ai',
    method: 'GET',
    params: {
      question
    }
  })
}
